//
//  HD_NKM_Map_Obj.m
//  HDJinShaSiteMuseum
//
//  Created by HDNiuKuiming on 2017/6/29.
//  Copyright © 2017年 HDNiuKuiming. All rights reserved.
//

#import "HD_NKM_Map_Obj.h"

@implementation HD_NKM_Map_Obj

+ (instancetype)mapPoiWithDict:(NSDictionary *)dict
{
    return [[self alloc] initWithDict:dict];
}
- (instancetype)initWithDict:(NSDictionary *)dict
{
    if (self = [super init]) {
        [self setValuesForKeysWithDictionary:dict]; // 字典的快速赋值，需要特殊处理一下保留字段和未声明但是字典中有的字段
    }
    return self;
}

-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    if([key isEqualToString:@"id"]) {
    }
    
}

- (void)dealloc
{
    self.exhibit_id  = nil;
    self.exhibit_num = nil;
    self.poi_2     = nil;
    self.axis_x    = nil;
    self.axis_y    = nil;
    self.auto_num  = nil;
    self.floor_num = nil;
    self.title     = nil;
    self.num       = nil;
    
    self.desc      = nil;
    self.lrc       = nil;
    self.mp3       = nil;
    
}

@end
